<%@ taglib uri="http://java.sun.com/jsf/html" prefix="h"%>
<%@ taglib uri="http://java.sun.com/jsf/core" prefix="f"%>
<html>
<head>
<title></title>
</head>
<body>
<f:view>
	<h:form>
		<h:messages />
		<h:panelGrid columns="3">
					Ad : <h:inputText value="#{kullaniciKayitBean.ad}" required="true"
				requiredMessage="Ad alanı boş olamaz" id="ad" validatorMessage="Ad alanı 5 ile 20 arasında" >
				<f:validateLength minimum="5" maximum="20"/>
				</h:inputText>
			<h:message for="ad" />
					Soyad : <h:inputText value="#{kullaniciKayitBean.soyad}"
				required="true" requiredMessage="Soyad alanı boş olamaz" id="soyad" />
					<h:message for="soyad" />
					Yas: <h:inputText value="#{kullaniciKayitBean.yas}"  id="yas" required="true"  requiredMessage="Yas zorunlu" validatorMessage="0-100 arasında olmalı">
					<f:validateLongRange minimum="0" maximum="100"/>
					</h:inputText>
					
					Email: <h:inputText value="#{kullaniciKayitBean.email}" />
					Adres:<h:inputTextarea value="#{kullaniciKayitBean.adres}" />

			<h:commandButton value="Kaydet" action="#{kullaniciKayitBean.kaydet}" />
		</h:panelGrid>
	</h:form>
</f:view>
</body>
</html>
